#include <iostream>
using namespace std;

int main(){
	int trash;
	cin >> trash;
	int a, b;
	while(cin >> a >> b){
		if(a < b)
			cout << "<" << endl;
		else if(a > b)
			cout << ">" << endl;
		else
			cout << "=" << endl;
	}
}
